<template>
	<wd-navbar title="我的地址" @click-left="back" fixed custom-class="head" left-text="" left-arrow>
		<template #right>
			<wd-icon name="add" size="22px" @click="toEdit"></wd-icon>
		</template>
	</wd-navbar>
</template>
<script setup>
const toEdit = () => {
	uni.navigateTo({
		url: '/pages/address/edit',
	})
}

const back = () => {
	uni.navigateBack()
}
</script>
<style scoped lang="scss">
:deep(.head) {
	width: 750rpx;
	background-color: #fff;
}
</style>
